<template>
  <div id="app">
        vue-webpack-test1
  </div>
</template>

<script>
import request from "request";
export default {
  // name: "app",
  data() {
    return {};
  },
  components: {},
  mounted() {
    request(
      `http://127.0.0.1:36367/?data={"type":"getLoginQQCookie"}`,
      function(err, res, body) {
        if (!err) {
          let data = JSON.parse(body);
          console.log(data);
        } else {
          console.error("请求错误!");
        }
      }
    );
  },
  methods: {}
};
</script>

<style lang="less">
* {
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#app {
  height: 100%;
  width: 100%;
  font-size: 0.2rem;
}
</style>
